<?php 
require_once 'Zend/Application.php';
require_once 'Zend/Test/PHPUnit/ControllerTestCase.php';
/**
 * 
 * @author jigal
 *
 */
abstract class ControllerTestCase extends Zend_Test_PHPUnit_ControllerTestCase{
    public $application;
    
    /**
     * (non-PHPdoc)
     * @see Test/PHPUnit/Zend_Test_PHPUnit_ControllerTestCase#setUp()
     */
    public function setUp()
    {
    	$this->application = new Zend_Application(
    		APPLICATION_ENV,
			APPLICATION_PATH.'/configs/events.ini'
    	);
    	
    	$this->bootstrap = array($this, 'appBootstrap');
    	parent::setUp();
    }    
	/**
	 * 
	 * @return unknown_type
	 */
	public function appBootstrap(){
		$this->application->bootstrap();
	}	
	
}